<template>
<div>
  <navigation-bar>
    <div slot="left" class="bar-left">
      <div class="bar-left-logo">
        <svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" fill="currentColor" class="bi bi-github" viewBox="0 0 16 16">
          <path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"/>
        </svg>
      </div>
      <div class="bar-left-text">
        <p>小奇艺.</p>
        <p class="p">纪录片</p>
      </div>
    </div>
    <div slot="center" class="bar-center">
      <div class="from-input">
        <input type="text" placeholder="啊啊啊啊啊啊">
      </div>
      <div class="from-but">
        <a href="#" class="from-but-a">热搜榜</a>
        <div class="from-but-b"></div>
        <div>
          <a href="#" class="from-but-img">
            <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search" viewBox="0 0 16 16">
              <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>
            </svg>
          </a>
          <a href="#" class="from-but-a">全网搜</a>
        </div> 
      </div>
    </div>
    <div slot="right" class="right-enter">
        <div class="right-neter-logo">
          <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="currentColor" class="bi bi-person-circle" viewBox="0 0 16 16">
            <path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/>
            <path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z"/>
          </svg>
        </div>
        <div class="right-neter-text" >
          <div @click="enter()">
            <span>登录</span>
          </div> 
        </div>
    </div>
  </navigation-bar>
  </div>
</template>

<script>
import NavigationBar from './NavigationBar'
import Enter from '../../common/enter/Enter'
export default {
  name:'NavigationBarItemDocumentary',
  components:{ 
    NavigationBar,
    Enter
  },
  data() {
    return {   
    };
  },
  methods:{
    enter(){
      this.$router.push('/enter')
    }
  }
}
</script>

<style scoped>
  .bar-left{
    width: 260px;
    height: 70px;
    margin-left: 50px;
    display: flex;
    justify-content: space-between;
  }
  .bar-left-logo{
    padding-top: 7px;
  }
  .bar-left-text{
    font-size: 30px;
    color: rgb(16, 233, 81);
    padding-top: 10px;
    font-weight:600;
    letter-spacing:3px;/*字体间距*/
    display: flex;
    justify-content: space-between;
    
  }
  .bar-left-text .p{
    font-size: 25px;
    padding-top: 5px;
    color: rgb(16, 233, 81);
  }
  .bar-center{
    /* width: 450px; */
    height: 40px;
    display: flex;
    margin-top: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .1);
  }
  .from-input{
    width: 250px;
  }
  .from-input input{
    width: 100%;
    height: 100%;
    border:0;
    outline: none;
    background: rgba(255, 255, 255, .01);
  }
  .from-but{
    width: 190px;
    display: flex;
  }
  .from-but .from-but-a{
    display: block;
    width: 60px;
    height: 40px;
    text-align: center;
    padding-top:7px;
    color: #cfcfcf;
  }
  .from-but-b{
    height: 15px;
    border-right: 1px solid #cfcfcf;
    margin: 0 10px;
    margin-top:12px;
  }
  .from-but div{
    display: flex;
  }
  .from-but-img{
    width:20px ;
    text-align: center;
    padding-top: 7px;
    color: #cfcfcf;
  }
  .right-enter{
    width: 160px;
    height: 100%;
    position: absolute;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 50px;
    padding-left: 5px;
  }
  .right-neter-logo{
    padding-top: 6px;
  }
  .right-neter-text span{
    font-size: 20px;
    font-weight:300px;
    letter-spacing:6px;
    color:#000;
    cursor: pointer;
  }
  a:hover{
    text-decoration: none;
  }
  .modal-backdrop{
    z-index: 9999;
  }
</style>